﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200054D RID: 1357
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightFestUpdateChallengeRecordNotify : IMessage<FightFestUpdateChallengeRecordNotify>, IMessage, IEquatable<FightFestUpdateChallengeRecordNotify>, IDeepCloneable<FightFestUpdateChallengeRecordNotify>, IBufferMessage
	{
		// Token: 0x1700117F RID: 4479
		// (get) Token: 0x06003D1F RID: 15647 RVA: 0x000A875B File Offset: 0x000A695B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightFestUpdateChallengeRecordNotify> Parser
		{
			get
			{
				return FightFestUpdateChallengeRecordNotify._parser;
			}
		}

		// Token: 0x17001180 RID: 4480
		// (get) Token: 0x06003D20 RID: 15648 RVA: 0x000A8762 File Offset: 0x000A6962
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightFestUpdateChallengeRecordNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001181 RID: 4481
		// (get) Token: 0x06003D21 RID: 15649 RVA: 0x000A8774 File Offset: 0x000A6974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightFestUpdateChallengeRecordNotify.Descriptor;
			}
		}

		// Token: 0x06003D22 RID: 15650 RVA: 0x000A877B File Offset: 0x000A697B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestUpdateChallengeRecordNotify()
		{
		}

		// Token: 0x06003D23 RID: 15651 RVA: 0x000A8784 File Offset: 0x000A6984
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestUpdateChallengeRecordNotify(FightFestUpdateChallengeRecordNotify other) : this()
		{
			this.lEKIFOCPGIB_ = other.lEKIFOCPGIB_;
			this.feverId_ = other.feverId_;
			this.rank_ = other.rank_;
			this.challengeId_ = other.challengeId_;
			this.pEIFBNAMKJP_ = other.pEIFBNAMKJP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003D24 RID: 15652 RVA: 0x000A87E4 File Offset: 0x000A69E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestUpdateChallengeRecordNotify Clone()
		{
			return new FightFestUpdateChallengeRecordNotify(this);
		}

		// Token: 0x17001182 RID: 4482
		// (get) Token: 0x06003D25 RID: 15653 RVA: 0x000A87EC File Offset: 0x000A69EC
		// (set) Token: 0x06003D26 RID: 15654 RVA: 0x000A87F4 File Offset: 0x000A69F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LEKIFOCPGIB
		{
			get
			{
				return this.lEKIFOCPGIB_;
			}
			set
			{
				this.lEKIFOCPGIB_ = value;
			}
		}

		// Token: 0x17001183 RID: 4483
		// (get) Token: 0x06003D27 RID: 15655 RVA: 0x000A87FD File Offset: 0x000A69FD
		// (set) Token: 0x06003D28 RID: 15656 RVA: 0x000A8805 File Offset: 0x000A6A05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FeverId
		{
			get
			{
				return this.feverId_;
			}
			set
			{
				this.feverId_ = value;
			}
		}

		// Token: 0x17001184 RID: 4484
		// (get) Token: 0x06003D29 RID: 15657 RVA: 0x000A880E File Offset: 0x000A6A0E
		// (set) Token: 0x06003D2A RID: 15658 RVA: 0x000A8816 File Offset: 0x000A6A16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestBattleRank Rank
		{
			get
			{
				return this.rank_;
			}
			set
			{
				this.rank_ = value;
			}
		}

		// Token: 0x17001185 RID: 4485
		// (get) Token: 0x06003D2B RID: 15659 RVA: 0x000A881F File Offset: 0x000A6A1F
		// (set) Token: 0x06003D2C RID: 15660 RVA: 0x000A8827 File Offset: 0x000A6A27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x17001186 RID: 4486
		// (get) Token: 0x06003D2D RID: 15661 RVA: 0x000A8830 File Offset: 0x000A6A30
		// (set) Token: 0x06003D2E RID: 15662 RVA: 0x000A8838 File Offset: 0x000A6A38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestBattleRank PEIFBNAMKJP
		{
			get
			{
				return this.pEIFBNAMKJP_;
			}
			set
			{
				this.pEIFBNAMKJP_ = value;
			}
		}

		// Token: 0x06003D2F RID: 15663 RVA: 0x000A8841 File Offset: 0x000A6A41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightFestUpdateChallengeRecordNotify);
		}

		// Token: 0x06003D30 RID: 15664 RVA: 0x000A8850 File Offset: 0x000A6A50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightFestUpdateChallengeRecordNotify other)
		{
			return other != null && (other == this || (this.LEKIFOCPGIB == other.LEKIFOCPGIB && this.FeverId == other.FeverId && this.Rank == other.Rank && this.ChallengeId == other.ChallengeId && this.PEIFBNAMKJP == other.PEIFBNAMKJP && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003D31 RID: 15665 RVA: 0x000A88CC File Offset: 0x000A6ACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LEKIFOCPGIB != 0U)
			{
				num ^= this.LEKIFOCPGIB.GetHashCode();
			}
			if (this.FeverId != 0U)
			{
				num ^= this.FeverId.GetHashCode();
			}
			if (this.Rank != FightFestBattleRank.C)
			{
				num ^= this.Rank.GetHashCode();
			}
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this.PEIFBNAMKJP != FightFestBattleRank.C)
			{
				num ^= this.PEIFBNAMKJP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003D32 RID: 15666 RVA: 0x000A897B File Offset: 0x000A6B7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003D33 RID: 15667 RVA: 0x000A8983 File Offset: 0x000A6B83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003D34 RID: 15668 RVA: 0x000A898C File Offset: 0x000A6B8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Rank != FightFestBattleRank.C)
			{
				output.WriteRawTag(32);
				output.WriteEnum((int)this.Rank);
			}
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this.FeverId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.FeverId);
			}
			if (this.LEKIFOCPGIB != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.LEKIFOCPGIB);
			}
			if (this.PEIFBNAMKJP != FightFestBattleRank.C)
			{
				output.WriteRawTag(112);
				output.WriteEnum((int)this.PEIFBNAMKJP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003D35 RID: 15669 RVA: 0x000A8A3C File Offset: 0x000A6C3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LEKIFOCPGIB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LEKIFOCPGIB);
			}
			if (this.FeverId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FeverId);
			}
			if (this.Rank != FightFestBattleRank.C)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Rank);
			}
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this.PEIFBNAMKJP != FightFestBattleRank.C)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.PEIFBNAMKJP);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003D36 RID: 15670 RVA: 0x000A8ADC File Offset: 0x000A6CDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightFestUpdateChallengeRecordNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LEKIFOCPGIB != 0U)
			{
				this.LEKIFOCPGIB = other.LEKIFOCPGIB;
			}
			if (other.FeverId != 0U)
			{
				this.FeverId = other.FeverId;
			}
			if (other.Rank != FightFestBattleRank.C)
			{
				this.Rank = other.Rank;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			if (other.PEIFBNAMKJP != FightFestBattleRank.C)
			{
				this.PEIFBNAMKJP = other.PEIFBNAMKJP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003D37 RID: 15671 RVA: 0x000A8B68 File Offset: 0x000A6D68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003D38 RID: 15672 RVA: 0x000A8B74 File Offset: 0x000A6D74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 32U)
					{
						this.Rank = (FightFestBattleRank)input.ReadEnum();
						continue;
					}
					if (num == 64U)
					{
						this.ChallengeId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.FeverId = input.ReadUInt32();
						continue;
					}
					if (num == 96U)
					{
						this.LEKIFOCPGIB = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.PEIFBNAMKJP = (FightFestBattleRank)input.ReadEnum();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400184B RID: 6219
		private static readonly MessageParser<FightFestUpdateChallengeRecordNotify> _parser = new MessageParser<FightFestUpdateChallengeRecordNotify>(() => new FightFestUpdateChallengeRecordNotify());

		// Token: 0x0400184C RID: 6220
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400184D RID: 6221
		public const int LEKIFOCPGIBFieldNumber = 12;

		// Token: 0x0400184E RID: 6222
		private uint lEKIFOCPGIB_;

		// Token: 0x0400184F RID: 6223
		public const int FeverIdFieldNumber = 11;

		// Token: 0x04001850 RID: 6224
		private uint feverId_;

		// Token: 0x04001851 RID: 6225
		public const int RankFieldNumber = 4;

		// Token: 0x04001852 RID: 6226
		private FightFestBattleRank rank_;

		// Token: 0x04001853 RID: 6227
		public const int ChallengeIdFieldNumber = 8;

		// Token: 0x04001854 RID: 6228
		private uint challengeId_;

		// Token: 0x04001855 RID: 6229
		public const int PEIFBNAMKJPFieldNumber = 14;

		// Token: 0x04001856 RID: 6230
		private FightFestBattleRank pEIFBNAMKJP_;
	}
}
